package com.weilai.common.dao;

import com.weilai.common.model.RedeemCode;
import com.weilai.common.model.SysUser;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface SysUserMapper {
    public int deleteByPrimaryKey(Integer id);

    public int insert(SysUser record);

    public int insertSelective(SysUser record);

    public SysUser selectByPrimaryKey(Integer id);

    public int updateBymobileNumberSelective(SysUser record);
    public int updateByIdSelective(SysUser record);

    public int updateByPrimaryKey(SysUser record);

    public SysUser findAllOfMedal();

    public SysUser findByUser(SysUser sysUser);

    List<SysUser> findUserOfPrize(SysUser sysUser);

    List<SysUser> find();

    SysUser frontFindByUser(SysUser sysUser);
}